package com.cmc6.user.model.dto;

import com.cmc6.common.util.MyPage;
import com.cmc6.user.model.entity.UserInfoDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * {@link UserInfoDO}
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UserPageDTO extends MyPage {

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "账号邮箱")
    private String email;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "正常/冻结，注意：这个数据是从 user_security表中获取的")
    private Boolean enableFlag;

    @ApiModelProperty(value = "是否追加 admin账号，true 是 false 否，备注：pageSize == -1 时生效")
    private boolean addAdminFlag;

}
